<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>业务表单</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript">
        var loginUserName = '${loginUser.name}';
        var loginUserId = '${loginUser.id}'
    </script>
    <SCRIPT src="${ctx}/resources/js/accidentEvent/osha/personal/detail.js" type="text/javascript"></SCRIPT>
    <style type="text/css">
        .osha_table {
            margin: 0 auto;
            width: 95%;
            border: solid gray;
            border-width: 1px 0px 0px 1px;
            margin-bottom: 10px;
        }

        .osha_table td {
            width: 25%;
            height: 30px;
            font-size: 12px;
            text-align: right;
            border: solid gray;
            border-width: 0px 1px 1px 0px;
        }
    </style>
</head>
<body>
<div class="menu-right" style="">
    <%--<a class="button icon-save" id="btn_save">
        保存
    </a>
    <a class="button icon-refer" id="">
        提交
    </a>--%>
    <%--<a class="button icon-export">
        导入
    </a>--%>
</div>
<form id="infoForm" method="post">
    <input type="hidden" name="id" value="${info.id}">
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">部门名称:</label>
                    <input id="happenDeptId" class="easyui-textbox" style="width: 240px;" required="true"
                           editable="false" validType="validSelect" name="deptId" value="${info.deptId}" readonly>
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">年度:</label>
                    <input id="reportYearth" class="easyui-textbox" style="width: 240px;" required="true"
                           editable="false" validType="validSelect" name="reportYearth" value="${info.reportYearth}"
                           readonly>
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">月份:</label>
                    <input id="reportMonth" class="easyui-textbox" style="width: 240px;" required="true"
                           editable="false" validType="validSelect" name="reportMonth" value="${info.reportMonth}"
                           readonly>
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both;height: 55px;">
                <div class="form_one fotm-textarea">
                    <label class="lable-style">备注:</label>
                    <input class="easyui-textbox" data-options="multiline:true" style="height: 50px;width: 598px;"
                           name="remarks" value="${info.remarks}" readonly>
                </div>
            </div>
            <table class="osha_table" style="" cellpadding="3" cellspacing="0">
                <tr>
                    <td rowspan="3" colspan="2">工时数（小时）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sWorkHour" class="easyui-numberspinner" style="width:200px" value="${info.sWorkHour}"
                               data-options="min:0" name="sWorkHour"
                               required readonly>
                    </td>
                </tr>

                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cWorkHour" class="easyui-numberspinner" style="width:200px" value="${info.cWorkHour}"
                               data-options="min:0" name="cWorkHour"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="workHour" class="easyui-numberspinner" style="width:200px"
                               value="${info.cWorkHour+info.sWorkHour}" data-options="min:0"
                               readonly>
                    </td>
                </tr>
                <%------------==============================================---------------%>
                <tr>
                    <td colspan="4" style="text-align: center;">1.人身伤害残疾</td>
                </tr>
                <tr>
                    <td rowspan="6">死亡</td>
                    <td rowspan="3">死亡人数（人）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sDeathNum" class="easyui-numberspinner" style="width:200px" value="${info.sDeathNum}"
                               data-options="min:0" name="sDeathNum"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cDeathNum" class="easyui-numberspinner" style="width:200px" value="${info.cDeathNum}"
                               data-options="min:0" name="cDeathNum"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="deathNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.cDeathNum+info.sDeathNum}" data-options="min:0" readonly>
                    </td>
                </tr>
                <tr>
                    <td rowspan="3">死亡事故数（起）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sDeathAccident" class="easyui-numberspinner" style="width:200px"
                               value="${info.sDeathAccident}" data-options="min:0" name="sDeathAccident"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cDeathAccident" class="easyui-numberspinner" style="width:200px"
                               value="${info.cDeathAccident}" data-options="min:0" name="cDeathAccident"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="deathAccident" class="easyui-numberspinner" style="width:200px"
                               value="${info.sDeathAccident+info.cDeathAccident}" data-options="min:0" readonly>
                    </td>
                </tr>
                <%--=======================================================================================--%>
                <tr>
                    <td rowspan="6">损失工作日</td>
                    <td rowspan="3">损失工作日人数（人）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sLossWorkDayNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.sLossWorkDayNum}" data-options="min:0" name="sLossWorkDayNum"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cLossWorkDayNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.cLossWorkDayNum}" data-options="min:0" name="cLossWorkDayNum"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="lossWorkDayNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.sLossWorkDayNum+info.cLossWorkDayNum}" data-options="min:0" readonly>
                    </td>
                </tr>
                <tr>
                    <td rowspan="3">损失工作日事故数（起）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sLossWorkDayAccident" class="easyui-numberspinner" style="width:200px"
                               value="${info.sLossWorkDayAccident}" data-options="min:0" name="sLossWorkDayAccident"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cLossWorkDayAccident" class="easyui-numberspinner" style="width:200px"
                               value="${info.cLossWorkDayAccident}" data-options="min:0" name="cLossWorkDayAccident"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="lossWorkDayAccident" class="easyui-numberspinner" style="width:200px"
                               value="${info.sLossWorkDayAccident+info.cLossWorkDayAccident}" data-options="min:0"
                               readonly>
                    </td>
                </tr>
                <%--======================================================================================================--%>
                <tr>
                    <td rowspan="3" colspan="2">损失工时事故率（伤害人数/百万工时）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sLossWorkHourAccidentProb" class="easyui-numberspinner" style="width:200px"
                               value="${info.sLossWorkHourAccidentProb}" data-options="min:0,precision:2"
                               name="sLossWorkHourAccidentProb"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cLossWorkHourAccidentProb" class="easyui-numberspinner" style="width:200px"
                               value="${info.cLossWorkHourAccidentProb}" data-options="min:0,precision:2"
                               name="cLossWorkHourAccidentProb"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="lossWorkHourAccidentProb" class="easyui-numberspinner" style="width:200px"
                               value="${info.sLossWorkHourAccidentProb+info.cLossWorkHourAccidentProb}"
                               data-options="min:0,precision:2" readonly>
                    </td>
                </tr>
                <%--======================================================================================================--%>
                <tr>
                    <td rowspan="6">工作受限</td>
                    <td rowspan="3">工作受限人数（人）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sWorkLimitNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.sWorkLimitNum}" data-options="min:0" name="sWorkLimitNum"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cWorkLimitNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.cWorkLimitNum}" data-options="min:0" name="cWorkLimitNum"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="workLimitNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.sWorkLimitNum+info.cWorkLimitNum}" data-options="min:0" readonly>
                    </td>
                </tr>
                <tr>
                    <td rowspan="3">工作受限事故数（起）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sWorkLimitAccident" class="easyui-numberspinner" style="width:200px"
                               value="${info.sWorkLimitAccident}" data-options="min:0" name="sWorkLimitAccident"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cWorkLimitAccident" class="easyui-numberspinner" style="width:200px"
                               value="${info.cWorkLimitAccident}" data-options="min:0" name="cWorkLimitAccident"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="workLimitAccident" class="easyui-numberspinner" style="width:200px"
                               value="${info.sWorkLimitAccident+info.cWorkLimitAccident}" data-options="min:0" readonly>
                    </td>
                </tr>
                <%--======================================================================================================--%>
                <tr>
                    <td rowspan="6">医疗处理/失去知觉/其他伤害和残疾</td>
                    <td rowspan="3">人数（人）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sOtherDamageNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.sOtherDamageNum}" data-options="min:0" name="sOtherDamageNum"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cOtherDamageNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.cOtherDamageNum}" data-options="min:0" name="cOtherDamageNum"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="otherDamageNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.cOtherDamageNum+info.sOtherDamageNum}" data-options="min:0" readonly>
                    </td>
                </tr>
                <tr>
                    <td rowspan="3">事故数（起）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sOtherDamageAccident" class="easyui-numberspinner" style="width:200px"
                               value="${info.sOtherDamageAccident}" data-options="min:0" name="sOtherDamageAccident"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cOtherDamageAccident" class="easyui-numberspinner" style="width:200px"
                               value="${info.cOtherDamageAccident}" data-options="min:0" name="cOtherDamageAccident"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="otherDamageAccident" class="easyui-numberspinner" style="width:200px"
                               value="${info.sOtherDamageAccident+info.cOtherDamageAccident}" data-options="min:0"
                               readonly>
                    </td>
                </tr>
                <%--======================================================================================================--%>
                <tr>
                    <td rowspan="3" colspan="2">可记录事件数（伤害人数）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sRecordEventNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.sRecordEventNum}" data-options="min:0" name="sRecordEventNum"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cRecordEventNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.cRecordEventNum}" data-options="min:0" name="cRecordEventNum"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="recordEventNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.sRecordEventNum+info.cRecordEventNum}" data-options="min:0" readonly>
                    </td>
                </tr>
                <%--======================================================================================================--%>
                <tr>
                    <td rowspan="3" colspan="2">可记录事件数（起）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sRecordEvent" class="easyui-numberspinner" style="width:200px"
                               value="${info.sRecordEvent}" data-options="min:0" name="sRecordEvent"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cRecordEvent" class="easyui-numberspinner" style="width:200px"
                               value="${info.cRecordEvent}" data-options="min:0" name="cRecordEvent"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="recordEvent" class="easyui-numberspinner" style="width:200px"
                               value="${info.sRecordEvent+info.cRecordEvent}" data-options="min:0" readonly>
                    </td>
                </tr>
                <%--======================================================================================================--%>
                <tr>
                    <td rowspan="3" colspan="2">可记录事件率（伤害人数/百万工时）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="sRecordEventProb" class="easyui-numberspinner" style="width:200px"
                               value="${info.sRecordEventProb}" data-options="min:0,precision:2" name="sRecordEventProb"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="cRecordEventProb" class="easyui-numberspinner" style="width:200px"
                               value="${info.cRecordEventProb}" data-options="min:0,precision:2" name="cRecordEventProb"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        员工+承包商
                    </td>
                    <td style="text-align: left;">
                        <input id="recordEventProb" class="easyui-numberspinner" style="width:200px"
                               value="${info.sRecordEventProb+info.cRecordEventProb}" data-options="min:0,precision:2"
                               readonly>
                    </td>
                </tr>
                <%--======================================================================================================--%>
                <tr>
                    <td colspan="2">新增职业病人数</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="newOccupationalDisease" class="easyui-numberspinner" style="width:200px"
                               value="${info.newOccupationalDisease}" data-options="min:0" name="newOccupationalDisease"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" style="text-align: center;">2.交通事故指标</td>
                </tr>
                <%--======================================================================================================--%>
                <tr>
                    <td colspan="2">运行公里数（万千米）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="trafficKilometres" class="easyui-numberspinner" style="width:200px"
                               value="${info.trafficKilometres}" data-options="min:0" name="trafficKilometres"
                               required readonly>
                    </td>
                </tr>
                <%--======================================================================================================--%>
                <tr>
                    <td colspan="2">死亡人数</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="trafficDeathNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.trafficDeathNum}" data-options="min:0" name="trafficDeathNum"
                               required readonly>
                    </td>
                </tr>
                <%--======================================================================================================--%>
                <tr>
                    <td colspan="2">重伤人数</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="trafficSeriousInjuryNum" class="easyui-numberspinner" style="width:200px"
                               value="${info.trafficSeriousInjuryNum}" data-options="min:0"
                               name="trafficSeriousInjuryNum"
                               required readonly>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">百万千米死亡重伤率（人/百万千米）</td>
                    <td>
                        员工
                    </td>
                    <td style="text-align: left;">
                        <input id="deathOrSeriousProb" class="easyui-numberspinner" style="width:200px"
                               value="${info.deathOrSeriousProb}" data-options="min:0,precision:2"
                               name="deathOrSeriousProb"
                               required readonly>
                    </td>
                </tr>
            </table>
        </div>
    </div>

</form>
</body>
</html>
